﻿using System.Runtime.Serialization;
using Microsoft.Xna.Framework;

namespace Babylon.Animations.Skeleton.Serialization
{
    [DataContract]
    public class BoneKeyFrame
    {
#if !SILVERLIGHT
        [Microsoft.Xna.Framework.Content.ContentSerializer]
#endif
        [DataMember]
        public int BoneIndex { get; set; }
#if !SILVERLIGHT
        [Microsoft.Xna.Framework.Content.ContentSerializer]
#endif
        [DataMember]
        public float KeyTime { get; set; }
#if !SILVERLIGHT
        [Microsoft.Xna.Framework.Content.ContentSerializer]
#endif
        [DataMember]
        public Matrix Transform { get; set; }
    }
}
